package com.gagakuai.bpm.domian.vo.camunda;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import javax.validation.constraints.NotNull;

@ApiModel
public class PageVo {
    
    @ApiModelProperty("")
    @NotNull(message = "页号不能为空")
    private int pageNumber;

    @ApiModelProperty("")
    @NotNull(message = "页面大小不能为空")
    private int pageSize;

    @ApiModelProperty("")
    private String sort;

    @ApiModelProperty("")
    private String order;

    public PageVo() {
    }

    public int getPageNumber() {
        return this.pageNumber;
    }

    public int getPageSize() {
        return this.pageSize;
    }

    public String getSort() {
        return this.sort;
    }

    public String getOrder() {
        return this.order;
    }

    public void setPageNumber(int pageNumber) {
        this.pageNumber = pageNumber;
    }

    public void setPageSize(int pageSize) {
        this.pageSize = pageSize;
    }

    public void setSort(String sort) {
        this.sort = sort;
    }

    public void setOrder(String order) {
        this.order = order;
    }

    @Override
    public String toString() {
        return "PageVo(pageNumber=" + this.getPageNumber() + ", pageSize=" + this.getPageSize() + ", sort=" + this.getSort() + ", order=" + this.getOrder() + ")";
    }
}
